<!DOCTYPE html>
<html lang="ch">
<head>
    <meta charset="UTF-8">
    <script src="js/jquery-3.4.1.min.js"></script>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js" integrity="sha384-/mhDoLbDldZc3qpsJHpLogda//BVZbgYuw6kof4u2FrCedxOtgRZDTHgHUhOCVim" crossorigin="anonymous"></script>
    <script>
        $(function(){
            
        })
    </script>

    <style>

        ul li{
            list-style-type:none;
        }
        .boxs{
            margin-top: 80px;
            width: 100%;
            height: 400px;
            background-color:darkgray;
            /* border: 3px solid #fff;
            border-radius: 50px; */
            border-left: 4px solid #fff;
            border-right: 4px solid #fff;
            border-bottom: 4px solid #fff;
            border-radius: 50px; 
            position:relative;
        }

        .boxs:before {
            content: "";
            position: absolute;
            left: 34px;
            top: 1px;
            width: 30%;
            height: 3px;
            background-color: #fff;
        }
        .boxs::after{
            content: "";
            position: absolute;
            left: 68%;
            top: 1px;
            width: 30%;
            height: 3px;
            background-color: #fff;
        }

        .title{
            font-size: 80px;
            position: absolute;
            /* margin-left: 15%; */
            color:#fff;
            left:40%;
            right: 0;
            /* margin: 0 auto; */
            background-color:transparent;
            z-index: 10;
        }
    </style>
</head>

<body style="background-color:transparent;">
    <div class="container">
        <div class="row">
            <div class="col-3" style="background-color: aquamarine;">
            </div>
            <div class="col" style="width: 100%;position: relative;">
                <div class="title">
                    <span>
                        点歌单
                    </span>
                </div>
                <div class="boxs" style="overflow: hidden;">
                    <div class="text" style="margin-left: 10%; font-size: 30px;" >
                        <div class="box">
                            <ul>
                                <li><span>午好</span> <span>ok</span></li>
                                <li>02这是一个无缝向上滚动的特效</li>
                                <li>03这是一个无缝向上滚动的特效</li>
                                <li>04这是一个无缝向上滚动的特效</li>
                                <li>05这是一个无缝向上滚动的特效</li>
                                <li>06这是一个无缝向上滚动的特效</li>
                                <li>07这是一个无缝向上滚动的特效</li>
                                <li>08这是一个无缝向上滚动的特效</li>
                                <li>09这是一个无缝向上滚动的特效</li>
                                <li>10这是一个无缝向上滚动的特效</li>
                                <li>11这是一个无缝向上滚动的特效</li>
                                <li>12这是一个无缝向上滚动的特效</li>
                                <li>13这是一个无缝向上滚动的特效</li>
                            </ul>
                        </div>
                    </div>
                </div>
                
            </div>
            <div class="col-3" style="background-color: aquamarine;">
            </div>
        </div>
    </div>
    <script>

        (function($){
         $.fn.scrollTop = function(options){
              var defaults = {
               speed:30
         }
          var opts = $.extend(defaults,options);
          this.each(function(){
               var $timer;
               var scroll_top=0;
               var obj = $(this);
               var $height = obj.find("ul").height();
               obj.find("ul").clone().appendTo(obj);
               obj.hover(function(){
               clearInterval($timer);
           },function(){
               $timer = setInterval(function(){
               scroll_top++;
               if(scroll_top > $height){
               scroll_top = 0;
          }
               obj.find("ul").first().css("margin-top",-scroll_top);
            },opts.speed);
            }).trigger("mouseleave");
           })
          }
         })(jQuery)
        </script>
        <script>
        $(function(){
         $(".box").scrollTop({
             speed:30 //数值越大 速度越慢
         });
        })
        </script>

</body>

</html>